package com.whynot.frame.designMode.proxy.cglibdynamic.main;


import com.whynot.frame.designMode.proxy.cglibdynamic.UserServiceDynamicProxy;
import com.whynot.frame.designMode.proxy.cglibdynamic.service.UserServiceImpl;
import com.whynot.frame.designMode.proxy.cglibdynamic.service.UserServiceImpl;

public class ProxyClient {
	
	public static void main(String[] args) {
		UserServiceDynamicProxy proxy = new UserServiceDynamicProxy();
		UserServiceImpl userService = (UserServiceImpl) proxy.getProxy(UserServiceImpl.class);
		userService.getUserName();
	}
}
